{// 引入标签库 }

<tagLib name="fanwe" />

{// 加载头部公共文件 }

<include file="Public:header" />

<!-- 菜单区域  -->



<!-- 主页面开始 -->

<div id="main" class="main" >



<!-- 主体内容  -->

<div class="content" >

<div class="title">{$Think.lang.DATA_LIST}</div>

<!--  功能操作区域  -->
<div class="operate" >
<fanwe:imageBtn name="add" value="{$Think.lang._ADD_DATA}" click="addData()" style="impBtn hMargin fLeft shadow" />
<fanwe:imageBtn name="edit" value="{$Think.lang._EDIT_DATA}" click="editData()" style="impBtn hMargin fLeft shadow" />
<fanwe:imageBtn name="delete" value="{$Think.lang._DELETE_DATA}" click="foreverdel()" style="impBtn hMargin fLeft shadow" />
<fanwe:imageBtn value="生成规则" click="rule()" style="impBtn fLeft" />
</div>
<!-- 列表显示区域  -->

<div class="list" >

<fanwe:list 

	id="checkList" 

	name="GroupCity" 

	style="list" 

	checkbox="true" 

	action="true" 

	datasource="list" 

	child="true" 

	show="id:{$Think.lang.ID}|8%,name:{$Think.lang.REGION_NAME},py:拼音,status|getStatus:是否开通,is_default|getBest:默认城市,is_hot|getBest:是否热门,sort:{$Think.lang.SORT}" 

	actionlist="edit:{$Think.lang._EDIT_DATA}:id,is_fix|showCityLink=$GroupCity['id']" /> 

</div>

<!--  分页显示区域 -->

<div class="page">{$page}</div>

<!-- 列表显示区域结束 -->

</div>

<!-- 主体内容结束 -->

</div>

<!-- 主页面结束 -->

<script type="text/javascript">
CONFIRM_FOREVER_DELETE = "确实要删除选择项吗？\r\n如果该城市下有团购商品，请先删除团购商品后再删除城市。";
function rule()

{

	location.href="{:U('GroupCity/updateCityRewriteRule')}";

}

function bbsforums()
{
	location.href="{:U('GroupCity/createBBSForums')}";
}

</script>



